package com.fuyo.monitor;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

//@ComponentScan(basePackages = {"com.fuyo.monitor"})
@Configuration
@SpringBootApplication
@EnableAdminServer
public class FuyoMonitorApplication {

    public static void main(String[] args) {
        SpringApplication.run(FuyoMonitorApplication.class, args);
    }

}
